#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

typedef int BTDataType;

typedef struct BinaryTreeNode
{
	struct BinaryTreeNode* left;
	struct BinaryTreeNode* right;
	BTDataType data;
}BTNode;

BTNode* BuyNewNode(BTDataType x);

int BTHeight(BTNode* root);

int BTSize(BTNode* root);

int TreeKLevel(BTNode* root,int k);
